//
//  ErrorHelpler.h
//  MobaoInteraction
//
//  Created by a on 2019/12/26.
//  Copyright © 2019 mobao. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ErrorHelpler : NSObject
+ (NSError *)createError:(NSString *)reason;

+ (NSError *)createError:(NSString *)reason code:(NSInteger)code;

+ (void)showError:(NSString *)message;

+ (void)showError:(NSString *)message delay:(NSTimeInterval)delay;

+ (void)showError:(NSString *)message code:(NSInteger)code;

+ (void)showError:(NSString *)message code:(NSInteger)code delay:(NSTimeInterval)delay;

@end

NS_ASSUME_NONNULL_END
